package com.jdrx.sw.sewage.common.enums;

import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.HashMap;
import java.util.Map;

/**
 * @Author: liaosijun
 * @Time: 2020/4/30 14:58
 */
@JsonFormat(shape = JsonFormat.Shape.OBJECT)
public enum EDelete {
	ENABLED(0, "已启用"),
	DISABLED(1, "已停用");
	Integer value;
	String name;

	EDelete(Integer value, String name) {
		this.value = value;
		this.name = name;
	}

	public Integer getValue() {
		return value;
	}

	public String getName() {
		return name;
	}
}
